﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CWY.Model
{
    public class Account
    {
        [ScaffoldColumn(false)]
        public Guid AccountID { get; set; }

        [Required]
        [DisplayName("Firstname")]
        public string Firstname { get; set; }
        public string Lastname { get; set; }
        public string DisplayName { get; set; }
        public DateTime DOB { get; set; }
        [DisplayName("E-Mail ID")]
        [Remote("IsEailAvailable","Account")]
        public string Email { get; set; }
        public string Password { get; set; }
        public bool IsActiveUser { get; set; }
        public DateTime CreationDate { get; set; }
        public DateTime ModifiedDate { get; set; }
    }
}
